package com.Maykk.systemIO;

import java.io.BufferedWriter;
import java.io.IOException;
import java.io.OutputStreamWriter;

/**
 * @ClassName: Demo05
 * @Description: TODO 标准错误(输出到屏幕) System.err
 * @Author: MaykkStar@163.com
 */
public class Demo05 {
    public static void main(String[] args) throws IOException {
        System.err.println("我是一个标准错误的输出");
        BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.err));
        bw.write("这又是一个标准错误的输出");
        bw.close();
    }
}
